<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script type="text/javascript" src="plug-in/jquery/jquery-1.8.3.min.js" /></script>
<link rel="stylesheet" href="css/index.css">
<title>密码安全</title>
</head>
<!--头部 -->
<%@include file="head.jsp"%>

<!--main -->

<div class="shezhi">
	<div class="shezhi_c">
		<div class="shezhi_c_top">
			<img src="imges/home.png"> > 设置 > 密码安全
		</div>
		<div class="shezhi_con">

			<%@include file="setLeftNaviLists.jsp"%>

			<div class="shezhi_con_r">

				<div class="shezhi_con_rtop">
					<div class="shezhi_con_rtop1" style="width: 100%">
						<ul style="margin-left: 30px;">
							<li>
								<a href="#" style="color: #000;">
									<span>账号安全</span>
								</a>
								<br> <img src="imges/jiayuan/jiantou.png">
							</li>
						</ul>
					</div>
				</div>

				<div class="zh_anquan">
					<span>您必须填写原密码才能修改下面的资料</span>
				</div>

				<div class="zh_anquan_l">
					<ul>
						<li>旧密码 :</li>
						<li>新密码 :</li>
						<li>确认新密码 :</li>
						<li style="height: 60px; line-height: 30px">Email :</li>
						<li style="height: 60px; line-height: 30px">安全提问 :</li>
						<li style="height: 60px; line-height: 30px">回答 :</li>
						<li>验证码 :</li>
					</ul>
				</div>
				
<!-- 				<form name="modifyFrom" id="modifyFrom" action="userInfoController.do?modifySucceed" check="userInfoController.do?modifyPassWord" method="post"> -->
					<from id="modifyFrom">
					<div class="zh_anquan_r">
						<ul>
							<li>
								<input type="password" name="oldPassWord" id="oldPassWord" class="zh_anquan_r_inp">
							</li>
							<li>
								<input type="password" name="newPassWord" id="newPassWord" class="zh_anquan_r_inp">
								<span class="zh_span">高</span> <span class="zh_span">中</span> <span class="zh_span">低</span>
							</li>
							<li>
								<input type="password" name="qrPassWord" id="qrPassWord" class="zh_anquan_r_inp">
							</li>
							<li style="height: 60px;">
								<span> <input type="text" name="emailnew" id="emailnew" value="${userInfo.email}" class="px">
								</span><br> <span style="color: #ff6600"><img src="imges/shezhi/yx.png" style="vertical-align: middle">
									新邮箱（${userInfo.email}）等待验证中...</span>
							</li>
							<li style="height: 60px;">
								<select class="zh_anquan_r_sel" name="question" id="question">
									<option value="" selected="">保持原有的安全提问和答案</option>
									<option value="0">无安全提问</option>
									<option value="1">母亲的名字</option>
									<option value="2">爷爷的名字</option>
									<option value="3">父亲出生的城市</option>
									<option value="4">您其中一位老师的名字</option>
									<option value="5">您个人计算机的型号</option>
									<option value="6">您最喜欢的餐馆名称</option>
									<option value="7">驾驶执照最后四位数字</option>
								</select>
								<br> <span style="color: #d9d9d9">如果您启用安全提问，登录时需填入相应的项目才能登录</span>
							</li>
							<li style="height: 60px;">
								<input type="text" name="answer" id="answer" class="zh_anquan_r_inp" autocomplete="off" />
								<br> <span style="color: #d9d9d9"> 如您设置新的安全提问，请在此输入答案</span>
							</li>
							<li>
								<input name="randCodeImageStr" id="randCodeImageStr" type="text" class="zh_anquan_r_inp">
								<img id="randCodeImage" src="randCodeImage" style="vertical-align: middle" />
								<a href="#" style="color: #0090ee">换一个</a>
							</li>
						</ul>

						<div class="shezhi_con_rc3" style="width: 100%">
							<!-- 						<button class="shezhi_con_rc3_button" type="button">保存</button> -->
							<button class="shezhi_con_rc3_button" id="but_modfiy" onclick="modfiyPassWord()">保 存</button>
						</div>
					</div>
				</form>


			</div>
			<div style="clear: both"></div>
		</div>
		<div style="clear: both"></div>
	</div>
</div>

<!--foot -->
<%@include file="foot.jsp"%>

</body>
<script type="text/javascript" src="js/modifypassword.js"></script>
</html>